<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of List
 *
 * @author kambokdol
 */
include_once("{$_SERVER['DOCUMENT_ROOT']}/header.php");
include_once(PHP_ROOT . "/class/db/Db.php");

//게시판기본형
class BbsList extends Db {

    private $table;   //게시판의 db명
    private $cate;   //카테고리
    private $where;
    private $key_search;   //검색어
    private $key_search_field;  //검색필드
    private $start_no;
    private $end_no;    //한번에 뛰어넘는 글 갯수
    private $total_rows;  //총db갯수
    private $total_pages;  //총페이지수
    private $bbs_rows;  //게시판 줄수
    private $search;  //검색창
    private $page;   //현재페이지
    private $layer_id;  //비동기 bbs페이징 전송을 위한  id  bbs를 표현한 div속의 id값
    private $category;  //게시판구분
    private $target_url;  //비동기 bbs페이징 전송을 위한  url
    private $admin; //관리자모드
    private $order_by;  //정렬기준
    private $user_id;  //유저아이디
    private $parent_uid;  //부모글

    public function getParent_uid() {
        return $this->parent_uid;
    }

    public function setParent_uid($parent_uid) {
        $this->parent_uid = $parent_uid;
    }

    public function getTable() {
        return $this->table;
    }

    public function setTable($table) {
        $this->table = $table;
    }

    public function getCate() {
        return $this->cate;
    }

    public function setCate($cate) {
        $this->cate = $cate;
    }

    public function getWhere() {
        return $this->where;
    }

    public function setWhere($where) {
        $this->where = $where;
    }

    public function getkey_search() {
        return $this->key_search;
    }

    public function setkey_search($key_search) {
        $this->key_search = $key_search;
    }

    public function getkey_search_field() {
        return $this->key_search_field;
    }

    public function setkey_search_field($key_search_field) {
        $this->key_search_field = $key_search_field;
    }

    public function getStart_no() {
        return $this->start_no;
    }

    public function setStart_no($start_no) {
        $this->start_no = $start_no;
    }

    public function getEnd_no() {
        return $this->end_no;
    }

    public function setEnd_no($end_no) {
        $this->end_no = $end_no;
    }

    public function getTotal_rows() {
        return $this->total_rows;
    }

    public function setTotal_rows($total_rows) {
        $this->total_rows = $total_rows;
    }

    public function getTotal_pages() {
        return $this->total_pages;
    }

    public function setTotal_pages($total_pages) {
        $this->total_pages = $total_pages;
    }

    public function getBbs_rows() {
        return $this->bbs_rows;
    }

    public function setBbs_rows($bbs_rows) {
        $this->bbs_rows = $bbs_rows;
    }

    public function getSearch() {
        return $this->search;
    }

    public function setSearch($search) {
        $this->search = $search;
    }

    public function getPage() {
        return $this->page;
    }

    public function setPage($page) {
        $this->page = $page;
    }

    public function getLayer_id() {
        return $this->layer_id;
    }

    public function setLayer_id($layer_id) {
        $this->layer_id = $layer_id;
    }

    public function getCategory() {
        return $this->category;
    }

    public function setCategory($category) {
        $this->category = $category;
    }

    public function getTarget_url() {
        return $this->target_url;
    }

    public function setTarget_url($target_url) {
        $this->target_url = $target_url;
    }

    public function getAdmin() {
        return $this->admin;
    }

    public function setAdmin($admin) {
        $this->admin = $admin;
    }

    public function getOrder_by() {
        return $this->order_by;
    }

    public function setOrder_by($order_by) {
        $this->order_by = $order_by;
    }

    public function getUser_id() {
        return $this->user_id;
    }

    public function setUser_id($user_id) {
        $this->user_id = $user_id;
    }

}

